/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Controlador;
import javax.servlet.http.HttpSessionActivationListener;
import javax.servlet.http.HttpSessionEvent;
/**
 *
 * @author zeta
 */
public class NewClass1 implements HttpSessionActivationListener
{

    public void sessionWillPassivate(HttpSessionEvent se) {
         System.out.println("Se pasivo la session " +se.getSession().getId());
        System.out.println("a las " +se.getSession().getCreationTime());
    }

    public void sessionDidActivate(HttpSessionEvent se) {
      System.out.println("Se activo la session " +se.getSession().getId());
        System.out.println("a las " +se.getSession().getCreationTime());
    }

}
